<template>
  <div class="container-fluid">
    <headers :userInfo="false"></headers>
    <form action="">
      <div class="log-date row">
        <div class="col-xs-12">
          <div class="form-group">
            <label for="">查询时间：</label>
            <input type="text" class="form-control" id="startDate" placeholder="开始时间" >
          </div>
          <div class="form-group">
            <input type="text" class="form-control" id="endDate" placeholder="结束时间">
          </div>
          <div class="form-group">
            <button type="button" class="btn">查询</button>
          </div>
        </div>
      </div>
    </form>
    <div class="log-content-box row">
      <div class="border-b col-xs-12">
        <span class="date">2017-01-12 14:15</span>
        <p class="info">李四给某某某充值了11654个砖石啊gas地方阿斯蒂芬三大阿斯蒂芬撒旦法啊。</p>
      </div>
      <div class="border-b col-xs-12">
        <span class="date">2017-01-12 14:15</span>
        <p class="info">李四给某某某充值了11654个砖石啊gas地方阿斯蒂芬三大阿斯蒂芬撒旦法啊。</p>
      </div>
      <div class="border-b col-xs-12">
        <span class="date">2017-01-12 14:15</span>
        <p class="info">李四给某某某充值了11654个砖石啊gas地方阿斯蒂芬三大阿斯蒂芬撒旦法啊。</p>
      </div>
    </div>

  </div>
</template>
<script>
  import Headers from '../../components/Header.vue';
  import {mapActions,mapGetters} from 'vuex';
  export default {
    data(){
      return {
        headerTitle:'销售记录',
        returnStatus:true
      }
    },
    components:{Headers},
    computed:{
      ...mapGetters([
        'headerStatus'
      ])
    },
    mounted(){
      let _this = this;
      this.$nextTick(function(){
        _this.headers();
        _this.layDate();
      })
    },
    methods:{
      headers(){
        this.headerStatus.headerTitle = this.headerTitle;
        this.headerStatus.returnStatus = this.returnStatus;
      },
      layDate(){
        laydate.render({
          elem: '#startDate', //指定元素
          type: 'datetime',
          theme:'molv'
        });
        laydate.render({
          elem: '#endDate', //指定元素
          type: 'datetime',
          theme:'molv'
        });
      }
    }



  }
</script>
<style scoped lang="less">
  @import "../../style/main";
  .container-fluid{
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    z-index: 999;
    background: #fff;
  }
</style>
